//
//  UserIdentityCell.m
//  TryShopping
//
//  Created by panquanReabam.com on 16/9/2.
//  Copyright © 2016年 RuiBen. All rights reserved.
//

#import "UserIdentityCell.h"



@implementation UserIdentityCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        
        [self createView];
    }
    
    return self;
    
}
-(void)createView
{
    
    [super awakeFromNib];
    self.titleImage=[[UIImageView alloc]init];
    self.titleImage.frame=CGRectMake(15,  60/2-30/2, 30,30);
    self.titleImage.layer.masksToBounds = YES;
    self.titleImage.layer.cornerRadius =30/2;
    self.titleImage.layer.borderWidth = 0.40;
    self.titleImage.layer.borderColor = qianhuiColor.CGColor;
    [self addSubview: self.titleImage];
    
    
  
    
    self.xuanzeimage=[[UIImageView alloc]init];
    self.xuanzeimage.frame=CGRectMake(ScreenWidth-40,  60/2-25/2,  25, 25);
    [self addSubview: self.xuanzeimage];
    
    
    self.title=[[UILabel alloc]init];
    self.title.font=[UIFont systemFontOfSize:15];
    self.title.textColor=[UIColor colorWithRed:51/255.0 green:51/255.0 blue:51/255.0 alpha:1];
    self.title.frame=CGRectMake(self.titleImage.right+10, 0, 520*ScreenWidth/750,60);
    self.title.numberOfLines=0;
    [self addSubview: self.title];
    

    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end

